package com.guoyw.seata.business.service;

import com.guoyw.seata.common.dto.BusinessDTO;
import com.guoyw.seata.common.response.ObjectResponse;

/**
 * author: guoyw
 * create: 2020-09-19 15:39
 **/
public interface BusinessService{
  
  /**
   * 出处理业务服务
   * @param businessDTO
   * @return
   */
  ObjectResponse handleBusiness(BusinessDTO businessDTO);
  
  
  /**
   * 出处理业务服务，出现异常回顾
   * @param businessDTO
   * @return
   */
  ObjectResponse handleBusiness2(BusinessDTO businessDTO);
}
